﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HP.Cachalote.Repositories;
using HP.Cachalote.Repositories.Interfaces;
using HP.Cachalote.DataModels;

namespace HP.Cachalote.UnitTests.FakeRepositories
{
    public class FakeItemRepository : FakeRepositoryBase<TodoItem>, ITodoItemRepository
    {
        protected override void GenerateInMemoryData()
        {
            if (DataList != null)
            {
                return;
            }

            DataList = FakeDataSource.TodoItems;
        }

        public TodoItem Get(object id, bool loadTodoLabel)
        {
            throw new NotImplementedException();
        }

        public IQueryable<TodoItem> Filter(System.Linq.Expressions.Expression<Func<TodoItem, bool>> expression, bool loadTodoLabel)
        {
            throw new NotImplementedException();
        }
    }
}
